//
//  LCBaseNavigationVC.m
//  LongChain
//  基类NavigationVC
//  Created by FengZi on 2018/4/4.
//  Copyright © 2018年 FengZi. All rights reserved.
//

#import "LCBaseNavigationVC.h"

@interface LCBaseNavigationVC ()

@end

@implementation LCBaseNavigationVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self setNeedsStatusBarAppearanceUpdate];
    self.navigationBar.translucent = YES;
    
    if ([self.tabBarItem.title isEqualToString:@"首页"]) {
        [self.tabBarItem setSelectedImage:[[UIImage imageNamed:@"cloudPlatesSelected"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];//选中图片

    }else if ([self.tabBarItem.title isEqualToString:@"我的"]){
        [self.tabBarItem setSelectedImage:[[UIImage imageNamed:@"mineSelected"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];//选中图片

    }else{
        [self.tabBarItem setSelectedImage:[[UIImage imageNamed:@"uploadNormal"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];//选中图片
        

    }
}


- (UIStatusBarStyle)preferredStatusBarStyle {
    
    return UIStatusBarStyleLightContent;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
